﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/user/User.master" AutoEventWireup="true" CodeFile="AddNewUser.aspx.cs" Inherits="admin_user_AddNewUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SettingHeading" runat="Server">
    Create New User
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TheForm" runat="Server">
    <div class="a-field">
        <strong>
            <asp:Literal ID="LiteralMessage" runat="server"></asp:Literal></strong>
    </div>
    <!-- a textbox -->
    <div class="a-field">
        <label>Username <span class="vtip a-tooltip" title="Username must be unique, contain only alphanumeric characters and start with a letter">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
        </div>
    </div>
    <!-- a textbox -->
    <div class="a-field">
        <label>Password<span class="vtip a-tooltip" title="Password must contain at least 1 small-case letter, 1 capital letter, 1 digit, 1 special character and the length should be between 6-20 characters.">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
        </div>
    </div>
    <div class="a-field">
        <label>Full Name<span class="vtip a-tooltip" title="Full Name of User.">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="a-field">
        <label>Email<span class="vtip a-tooltip" title="Must be a valid email for notification and password recovery service to work.">(?)</span></label>
        <div class="a-text">
            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="a-field">
        <label>Role <span class="vtip a-tooltip" title="Please choose a role for this user. For a complete rights of each role, please see <strong>User Role Definition</strong> of Help page">(?)</span></label>
        <div class="a-select">
            <asp:DropDownList ID="ddlRole" runat="server">
            </asp:DropDownList>
        </div>
    </div>
    <div class="a-field">
        <label>Organization<span class="vtip a-tooltip" title="The organization the user is working for."></label>
        <div class="a-text">
            <asp:TextBox ID="txtOrganization" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="a-field a-buttons">
        <asp:Button ID="btnCreatUser" runat="server" Text="Create" CssClass="a-button" OnClick="btnCreatUser_Click" />
    </div>
</asp:Content>